<template>
  <div class="home">
    <img class="background" :src="background" />
    <el-header>
      <el-button type="primary" plain @click="handleLogin">登录</el-button>
      <el-button type="primary" plain @click="handleRegister">注册</el-button>
      <el-button type="primary" plain @click="handleLoginManage"
        >管理员</el-button
      >
    </el-header>
  </div>
</template>

<script lang="ts" src="./home.ts" />

<style lang="less" scoped>
.home {
  height: 100vh;
  position: relative;
}

.el-header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #dbe9f6;
  box-shadow: 0 2px 12px #0000001a;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.background {
  width: 100%;
  height: 100%;
}
</style>
